#include<stdio.h>
void main()
{
    int a = 5,b = 4,c = 0,d;
    d = !a&&!b||! c;
    printf("%d\n",d);
}